package com.lilicould.entity;

public class Classes {
    private String classCode;
    private String className;
    private String majorCode;
    private String collegeCode;
    private String enrollmentYear; //入学年份

    public Classes(String classCode, String className, String majorCode, String collegeCode, String enrollmentYear) {
        this.classCode = classCode;
        this.className = className;
        this.majorCode = majorCode;
        this.collegeCode = collegeCode;
        this.enrollmentYear = enrollmentYear;
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMajorCode() {
        return majorCode;
    }

    public void setMajorCode(String majorCode) {
        this.majorCode = majorCode;
    }

    public String getCollegeCode() {
        return collegeCode;
    }

    public void setCollegeCode(String collegeCode) {
        this.collegeCode = collegeCode;
    }

    public String getEnrollmentYear() {
        return enrollmentYear;
    }

    public void setEnrollmentYear(String enrollmentYear) {
        this.enrollmentYear = enrollmentYear;
    }

    @Override
    public String toString() {
        return "Classes{" +
                "classCode='" + classCode + '\'' +
                ", className='" + className + '\'' +
                ", majorCode='" + majorCode + '\'' +
                ", collegeCode='" + collegeCode + '\'' +
                ", enrollmentYear='" + enrollmentYear + '\'' +
                '}';
    }
}
